Optimal. Leaf size=129 \[ \frac {a (e \tan (c+d x))^{m+1} \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\tan ^2(c+d x)\right )}{d e (m+1)}+\frac {a \sec (c+d x) \cos ^2(c+d x)^{\frac {m+2}{2}} (e \tan (c+d x))^{m+1} \, _2F_1\left (\frac {m+1}{2},\frac {m+2}{2};\frac {m+3}{2};\sin ^2(c+d x)\right )}{d e (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 129, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {3884, 3476, 364, 2617} \[ \frac {a (e \tan (c+d x))^{m+1} \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\tan ^2(c+d x)\right )}{d e (m+1)}+\frac {a \sec (c+d x) \cos ^2(c+d x)^{\frac {m+2}{2}} (e \tan (c+d x))^{m+1} \, _2F_1\left (\frac {m+1}{2},\frac {m+2}{2};\frac {m+3}{2};\sin ^2(c+d x)\right )}{d e (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 2617
Rule 3476
Rule 3884
Rubi steps
\begin {align*} \int (a+a \sec (c+d x)) (e \tan (c+d x))^m \, dx &=a \int (e \tan (c+d x))^m \, dx+a \int \sec (c+d x) (e \tan (c+d x))^m \, dx\\ &=\frac {a \cos ^2(c+d x)^{\frac {2+m}{2}} \, _2F_1\left (\frac {1+m}{2},\frac {2+m}{2};\frac {3+m}{2};\sin ^2(c+d x)\right ) \sec (c+d x) (e \tan (c+d x))^{1+m}}{d e (1+m)}+\frac {(a e) \operatorname {Subst}\left (\int \frac {x^m}{e^2+x^2} \, dx,x,e \tan (c+d x)\right )}{d}\\ &=\frac {a \, _2F_1\left (1,\frac {1+m}{2};\frac {3+m}{2};-\tan ^2(c+d x)\right ) (e \tan (c+d x))^{1+m}}{d e (1+m)}+\frac {a \cos ^2(c+d x)^{\frac {2+m}{2}} \, _2F_1\left (\frac {1+m}{2},\frac {2+m}{2};\frac {3+m}{2};\sin ^2(c+d x)\right ) \sec (c+d x) (e \tan (c+d x))^{1+m}}{d e (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.73, size = 105, normalized size = 0.81 \[ \frac {a (e \tan (c+d x))^m \left (\frac {\tan (c+d x) \, _2F_1\left (1,\frac {m+1}{2};\frac {m+3}{2};-\tan ^2(c+d x)\right )}{m+1}+\csc (c+d x) \left (-\tan ^2(c+d x)\right )^{\frac {1-m}{2}} \, _2F_1\left (\frac {1}{2},\frac {1-m}{2};\frac {3}{2};\sec ^2(c+d x)\right )\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.60, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (a \sec \left (d x + c\right ) + a\right )} \left (e \tan \left (d x + c\right )\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sec \left (d x + c\right ) + a\right )} \left (e \tan \left (d x + c\right )\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 2.45, size = 0, normalized size = 0.00 \[ \int \left (a +a \sec \left (d x +c \right )\right ) \left (e \tan \left (d x +c \right )\right )^{m}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \sec \left (d x + c\right ) + a\right )} \left (e \tan \left (d x + c\right )\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (e\,\mathrm {tan}\left (c+d\,x\right )\right )}^m\,\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ a \left (\int \left (e \tan {\left (c + d x \right )}\right )^{m}\, dx + \int \left (e \tan {\left (c + d x \right )}\right )^{m} \sec {\left (c + d x \right )}\, dx\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________